/* 
 * Copyright [2018] [Alex/libo(liboms@hotmail.com)]
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.guava.config;

/** 
 * @title ValidateMessage.java  
 * @package com.hyts.guava.validator  
 * @description TODO  
 * @see TODO
 * @author libo/Alex
 * @email liboms@hotmail.com/liboware@163.com  
 * @date 2018年5月5日 
 * @version V1.0 
 */
public enum ValidateConfig {

	/*参数为空*/
	PARAM_NULL("参数为空"),
	
	/*参数校验错误*/
	PARAM_WRONG("参数校验出错"),
	
	/*状态校验错误*/
	STATE_WRONG("状态出现异常");
	
	
	private String message;
	/**  
	 * @name message's getter method
	 * @param none
	 * @return message
	 */
	public String getMessage() {
		return message;
	}

	/**  
	 * @name message's setter method
	 * @param message
	 * @return void
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/**  
	 * @constructor：ValidateMessage  
	 * @param message  
	 */ 
	private ValidateConfig(String message) {
		this.message = message;
	}
	
}
